package com.groupbuying.payconsumer.service.impl;

import com.groupbuying.payconsumer.dao.PayInfoDao;
import com.groupbuying.payconsumer.domain.PayInfoDO;
import com.groupbuying.payconsumer.service.PayInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class PayInfoServiceImpl implements PayInfoService {
    @Autowired
    private PayInfoDao payInfoDao;

    @Override
    public PayInfoDO get(String id) {
        return payInfoDao.get(id);
    }

    @Override
    public List<PayInfoDO> list(Map<String, Object> map) {
        return payInfoDao.list(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return payInfoDao.count(map);
    }

    @Override
    public int save(PayInfoDO payInfo) {
        return payInfoDao.save(payInfo);
    }

    @Override
    public int update(PayInfoDO payInfo) {
        return payInfoDao.update(payInfo);
    }

    @Override
    public int remove(String id) {
        return payInfoDao.remove(id);
    }

    @Override
    public int batchRemove(String[] ids) {
        return payInfoDao.batchRemove(ids);
    }

}
